package com.furtherstar.auth.service;

import com.furtherstar.auth.controller.dto.PositionQuery;
import com.furtherstar.auth.controller.dto.PositionUserQuery;
import com.furtherstar.auth.dao.model.CorpPosition;
import com.github.pagehelper.PageSerializable;
import com.yummy.web.security.bean.SimpleUser;

public interface CorpPositionService {

	Long add(CorpPosition position);

	Long update(CorpPosition position);

	Long enable(Long positionId);

	Long disable(Long id);

	Boolean delete(Long id);

	PageSerializable<CorpPosition> pageQuery(PositionQuery positionQuery);

	PageSerializable<CorpPosition> pageAvaliable(PositionQuery positionQuery);

	PageSerializable<SimpleUser> pageUsers(PositionUserQuery positionUserQuery);

}
